package com.book.entity;

import java.util.Date;

public class Order {
	private Integer id;
	private String orderNumber;
	private Date creatTime;
	public Order(String orderNumber, Date creatTime) {
		super();
		this.orderNumber = orderNumber;
		this.creatTime = creatTime;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getOrderNumber() {
		return orderNumber;
	}
	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}
	public Date getCreatTime() {
		return creatTime;
	}
	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}
	@Override
	public String toString() {
		return "Order [id=" + id + ", orderNumber=" + orderNumber + ", creatTime=" + creatTime + "]";
	}
	
}
